package com.huawei.codelab.beans;

public class User {

    private Integer userId;

    //登录账号
    private String userName;

    private  Integer userAge;


    private  String userImgAddress;

    //登录密码
    private  String userPwd;

    private  String userCall;

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userAge=" + userAge +
                ", userImgAddress='" + userImgAddress + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", userCall='" + userCall + '\'' +
                ", userFamily=" + userFamily +
                '}';
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUserAge() {
        return userAge;
    }

    public void setUserAge(Integer userAge) {
        this.userAge = userAge;
    }

    public String getUserImgAddress() {
        return userImgAddress;
    }

    public void setUserImgAddress(String userImgAddress) {
        this.userImgAddress = userImgAddress;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public String getUserCall() {
        return userCall;
    }

    public void setUserCall(String userCall) {
        this.userCall = userCall;
    }

    public Integer getUserFamily() {
        return userFamily;
    }

    public void setUserFamily(Integer userFamily) {
        this.userFamily = userFamily;
    }

    public User() {
    }

    private  Integer userFamily;

    public User(Integer userId, String userName, Integer userAge, String userImgAddress, String userPwd, String userCall, Integer userFamily) {
        this.userId = userId;
        this.userName = userName;
        this.userAge = userAge;
        this.userImgAddress = userImgAddress;
        this.userPwd = userPwd;
        this.userCall = userCall;
        this.userFamily = userFamily;
    }
}
